package com.training.action.liuyong;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class LogoutAction extends ActionSupport {

	// 退出系统时清空Session里面的所有内容
	public String execute() {
		ActionContext.getContext().getSession().clear();
		return SUCCESS;
	}
}
